package com.mida.dms.knw.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Setter
@Getter
@ApiModel(description = "历史版本控制")
public class DtHistoryVersion implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "历史版本控制soid")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long historyVersionSoid;

    @ApiModelProperty(value = "版本")
    private Double version;

    @ApiModelProperty(value = "版本类型来源")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long dbModelFrom;

    @ApiModelProperty(value = "版本soid")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long dbModelSoid;

    @ApiModelProperty(value = "版本类型内容json")
    private String dbModelJson;

    @ApiModelProperty(value = "删除标志位")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long isDelete;

    @ApiModelProperty(value = "创建日期时间")
    private Date createDate;

    @ApiModelProperty(value = "最后修改人")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long updateUser;

}